package com.ouc.eddyAlgorithm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ouc.common.annotation.Excel;
import com.ouc.common.core.domain.BaseEntity;
import com.ouc.common.utils.excel.ExcelExport;
import com.ouc.common.utils.excel.ExcelImport;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 涡旋跟踪对象 vg_a4b3_track
 *
 * @author yh
 * @date 2025-01-06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class VgA4b3Track extends BaseEntity {
  private static final long serialVersionUID = 1L;

  /**
   * 数据库编号
   */
  @Excel(name = "数据库编号")
  private Integer id;

  /**
   * 涡旋编号
   */
  @ExcelImport("涡旋编号")
  @Excel(name = "涡旋编号")
  private Integer eddyId;

  /**
   * 跟踪编号
   */
  @ExcelImport("跟踪编号")
  @Excel(name = "跟踪编号")
  private Integer track;

  /**
   * 是否异常涡旋，1为异常
   */
  @ExcelImport("是否异常涡旋，1为异常")
  @Excel(name = "是否异常涡旋，1为异常")
  private Integer isAnomalous;

  /**
   * 观测时间
   */
  @JsonFormat(pattern = "yyyy-MM-dd")
  @ExcelImport("观测时间")
  @Excel(name = "观测时间", width = 30, dateFormat = "yyyy-MM-dd")
  private Date date;

  /**
   * 涡旋类型
   */
  @ExcelImport("涡旋类型")
  @Excel(name = "涡旋类型")
  private Integer type;

  /**
   * 涡旋半径
   */
  @ExcelImport("涡旋半径")
  @Excel(name = "涡旋半径")
  private Double radius;

  /**
   * 涡旋边界
   */
  @ExcelImport("涡旋边界")
  @Excel(name = "涡旋边界")
  private String radiusArr;

  /**
   * 网格横坐标
   */
  @ExcelImport("网格横坐标")
  @Excel(name = "网格横坐标")
  private Integer i;

  /**
   * 纬度
   */
  @ExcelImport("纬度")
  @Excel(name = "纬度")
  private Double lat;

  /**
   * 网格纵坐标
   */
  @ExcelImport("网格纵坐标")
  @Excel(name = "网格纵坐标")
  private Integer j;

  /**
   * 经度
   */
  @ExcelImport("经度")
  @Excel(name = "经度")
  private Double lon;

  /**
   * 层级
   */
  @ExcelImport("层级")
  @Excel(name = "层级")
  private Integer level;

  /**
   * 深度
   */
  @ExcelImport("深度")
  @Excel(name = "深度")
  private Double meter;


  /**
   * 流速最大值
   */
  @ExcelImport("流速最大值")
  @Excel(name = "流速最大值")
  private Double w;


}
